package com.thomasmoerman.dci2.tmc

import com.thomasmoerman.dci2.frw._
import com.thomasmoerman.dci2.domain._

trait CalculatedBalanceAspect {
  this: MoneyTransferQueries =>
  
  trait CalculatedBalance extends HasBalance {
    this: Identified =>
    
    lazy val balance = calculateBalance(id)
    
  }
  
}